<?php



use Doctrine\ORM\Mapping as ORM;

/**
 * Visit
 *
 * @ORM\Table(name="visit")
 * @ORM\Entity
 */
class Visit
{
    /**
     * @var integer
     *
     * @ORM\Column(name="vis_id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $visId;

    /**
     * @var string
     *
     * @ORM\Column(name="vis_usu_id", type="string", length=45, nullable=false)
     */
    private $visUsuId;

    /**
     * @var string
     *
     * @ORM\Column(name="vis_ip", type="string", length=45, nullable=false)
     */
    private $visIp;

    /**
     * @var integer
     *
     * @ORM\Column(name="vis_audit_date", type="bigint", nullable=false)
     */
    private $visAuditDate;

    /**
     * @var \Media
     *
     * @ORM\ManyToOne(targetEntity="Media")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="vis_med_id", referencedColumnName="med_id")
     * })
     */
    private $visMed;


    /**
     * Get visId
     *
     * @return integer 
     */
    public function getVisId()
    {
        return $this->visId;
    }

    /**
     * Set visUsuId
     *
     * @param string $visUsuId
     * @return Visit
     */
    public function setVisUsuId($visUsuId)
    {
        $this->visUsuId = $visUsuId;
    
        return $this;
    }

    /**
     * Get visUsuId
     *
     * @return string 
     */
    public function getVisUsuId()
    {
        return $this->visUsuId;
    }

    /**
     * Set visIp
     *
     * @param string $visIp
     * @return Visit
     */
    public function setVisIp($visIp)
    {
        $this->visIp = $visIp;
    
        return $this;
    }

    /**
     * Get visIp
     *
     * @return string 
     */
    public function getVisIp()
    {
        return $this->visIp;
    }

    /**
     * Set visAuditDate
     *
     * @param integer $visAuditDate
     * @return Visit
     */
    public function setVisAuditDate($visAuditDate)
    {
        $this->visAuditDate = $visAuditDate;
    
        return $this;
    }

    /**
     * Get visAuditDate
     *
     * @return integer 
     */
    public function getVisAuditDate()
    {
        return $this->visAuditDate;
    }

    /**
     * Set visMed
     *
     * @param \Media $visMed
     * @return Visit
     */
    public function setVisMed(\Media $visMed = null)
    {
        $this->visMed = $visMed;
    
        return $this;
    }

    /**
     * Get visMed
     *
     * @return \Media 
     */
    public function getVisMed()
    {
        return $this->visMed;
    }
}
